body,td,th{
    font-family: "Microsoft YaHei";
    color: black;
    font-size: 250%;
    height:100%;
}
.switch{
    padding: 20%;
    border: 1px solid;
}
.lending,.lendout{

    display: flex;
    flex-direction: column;
    margin: 15% 10% 0 10%;
    height: 30%;
    box-shadow:0px 5px 20px #999;
    width: auto;

}

.title{
    height: 5px;
    background: #7fc6a6;
}
.left-box{



}
.right-box{

    display: flex;
    flex-direction: row;
    border-top: 1px #bcbcbc solid;

}
.name{
    font-size: 200%;
    text-align: center;
    margin: 4%;
}
.index{
    font-size: 80%;
    color: #bcbcbc;
    text-align: center;
    margin: 5% auto 5% auto;
}
.lend-time{
    margin: 8%;
}
.lend-deadline{
    margin: 8% 8% 8% auto;
}

.tgl-flip + .tgl-btn {
  padding: 2px;
  -webkit-transition: all .2s ease;
  transition: all .2s ease;
  font-family: 'Microsoft YaHei';
  -webkit-perspective: 100px;
          perspective: 100px;
}
.tgl-flip + .tgl-btn:after, .tgl-flip + .tgl-btn:before {
  display: inline-block;
  -webkit-transition: all .4s ease;
  transition: all .4s ease;
  width: 100%;
  text-align: center;
  position: fixed;
  line-height: 2em;
  color: #fff;
  top: 0;
  left: 0;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  border-radius: 4px;
}
.tgl-flip + .tgl-btn:after {
  content: attr(data-tg-on);
  background: #02C66F;
  -webkit-transform: rotateY(-180deg);
          transform: rotateY(-180deg);
}
.tgl-flip + .tgl-btn:before {
  background: #7FC6A6;
  content: attr(data-tg-off);
}
.tgl-flip + .tgl-btn:active:before {
  -webkit-transform: rotateY(-20deg);
          transform: rotateY(-20deg);
}
.tgl-flip:checked + .tgl-btn:before {
  -webkit-transform: rotateY(180deg);
          transform: rotateY(180deg);
}
.tgl-flip:checked + .tgl-btn:after {
  -webkit-transform: rotateY(0);
          transform: rotateY(0);
  left: 0;
  background: red;
}
.tgl-flip:checked + .tgl-btn:active:after {
  -webkit-transform: rotateY(20deg);
          transform: rotateY(20deg);
}

